<!DOCTYPE html>
<!-- saved from url=(0040)http://www.smallbearshop.net/case_1.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>百信财富有限公司</title>
<meta name="keywords" content="投资,高铁投资,西门子">
<meta name="description" content="百信财富简介">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="generator" content="MetInfo 5.3.19" data-variable="https://show.metinfo.cn/muban/M1156008/328/,cn,10001,,10001,M1156008">
<link rel="shortcut icon" href="__PUBLIC__/Home/images/favicon1.ico">
<link href="__PUBLIC__/Home/css/common.css" media="screen" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/Home/css/recruit.css" media="screen" rel="stylesheet" type="text/css">
<script src="__PUBLIC__/Home/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script>
  $(function(){
	  
	 $(document).scroll(function(){
		 
		var len=$(document).scrollTop();
		
		if(len>100){
			
			$('.headerDiv').addClass('fixedMenu');
			
			}
			
		if(len<100){
			
			$('.headerDiv').removeClass('fixedMenu');
			
			}
		  
		 }
 
	  )
	  
	 $('.mobileLink').click(function(){
		 
		 $('.pop1').fadeIn(500);
		 
		 }) 
		 
	  $('.pop1').click(function(){
		 
		 $(this).fadeOut(500);
		 
		 }) 
		 
	  $('.weixinLink').click(function(){
		 
		 $('.pop2').fadeIn(500);
		 
		 }) 
		 
	  $('.pop2').click(function(){
		 
		 $(this).fadeOut(500);
		 
		 }) 
	  
	  })
</script>
<script>
  $(function(){
	 
	 $('.close').click(function(){
		 
		 
		   $('.tips').hide();
		 
		 }

	 )
	  
 })
</script>
<SCRIPT LANGUAGE="JavaScript">
 function mobile_device_detect(url)
 {
        var thisOS=navigator.platform;
        var os=new Array("iPhone","iPod","iPad","android","Nokia","SymbianOS","Symbian","Windows Phone","Phone","Linux armv71","MAUI","UNTRUSTED/1.0","Windows CE","BlackBerry","IEMobile");
 for(var i=0;i<os.length;i++)
        {
 if(thisOS.match(os[i]))
        {  
  window.location=url;
 }
          
 }
 //因为相当部分的手机系统不知道信息,这里是做临时性特殊辨认
 if(navigator.platform.indexOf('iPad') != -1)
        {
  window.location=url;
 }
 //做这一部分是因为Android手机的内核也是Linux
 //但是navigator.platform显示信息不尽相同情况繁多,因此从浏览器下手，即用navigator.appVersion信息做判断
  var check = navigator.appVersion;
  if( check.match(/linux/i) )
          {
   //X11是UC浏览器的平台 ，如果有其他特殊浏览器也可以附加上条件
   if(check.match(/mobile/i) || check.match(/X11/i))
                 {
   window.location=url;
   } 
 }
 //类in_array函数
 Array.prototype.in_array = function(e)
 {
  for(i=0;i<this.length;i++)
  {
   if(this[i] == e)
   return true;
  }
  return false;
 }
 }
mobile_device_detect("https://www.baidu.com");
</SCRIPT>

</head>
<body> 
  <div class="pop1"><img src="__PUBLIC__/Home/images/mark-mobile.png"></div>
  <div class="pop2"><img src="__PUBLIC__/Home/images/mark-weixin.png"></div>
  <!--<div class="tips" style="display:block">-->
     <!--<div class="topsDiv">-->
       <!--<div class="tipsTitle"><b>提示</b><a class="close"><img src="__PUBLIC__/Home/images/close.png"></a></div>-->
       <!--<div class="tipsCon"><p>请选择投资类型</p></div>-->
     <!--</div>-->


  </div>
  <div class="headerDiv">
   <include file="web/Common/header"/>
  </div>
  <div class="contentDiv">
    <div class="banner" style="background:url(__PUBLIC__/Home/images/banner_recruit.jpg) center center no-repeat"></div>
    <div class="content">
       <div class="route">
         <span>当前位置：</span><a href="__MODULE__/Index/index"><span>首页</span></a> <em>/</em> <a href="#"><span>投资方案征集</span></a>
       </div>
       <div class="town">
         <form action="" method="post" enctype="multipart/form-data" id="invest">
         <table width="912" border="0" class="recruitTable">
              <tr>
                <th width="114" height="55"><span>投资类型</span></th>
                <td width="782">
                   <select name="type">
                     <option value="">请选择投资类型</option>
                     <option value="1">建筑</option>
                     <option value="2">交通</option>
                     <option value="3">大健康</option>
                   </select>
                </td>
              </tr>
              <tr>
                <th height="50"><span>方案描述</span></th>
                <td><textarea placeholder="请认真填写对投资方案的描述" name="description"></textarea></td>
              </tr>
              <tr>
                <th height="50"><span>方案上传</span></th>
                <td>
                    <input type="file" name="upload_image" id="upload-input"/>
                    <input type="hidden" id="path" name="path"/>


                </td>
              </tr>
              <tr>
                <th height="20"></th>
                <td></td>
              </tr>
              <tr>
                <th height="50"><span>联系人</span></th>
                <td><input type="text" placeholder="请输入联系人" name="contact_name"></td>
              </tr>
              <tr>
                <th height="50"><span>手机号</span></th>
                <td><input type="text" placeholder="请输入手机号" name="phone"></td>
              </tr>
              <tr>
                <th height="50"><span>座机号码</span></th>
                <td><input type="text" placeholder="请输入座机号码" name="seat_machine"></td>
              </tr>
              <tr>
                <th height="50"><span>E-mail</span></th>
                <td><input type="text" placeholder="请输入E-mail" name="email"></td>
              </tr>
               <tr>
                <th height="87"></th>
                <td><input type="submit" value="立即发布" id="recruitBn"></td>
           </tr>
           </table>
           </form>
      </div>
    </div>
  </div>
  <!--footer开始-->
  <include file="web/Common/footer"/>
  <!--footer结束-->
</body>
</html>
<script src="__PUBLIC__/Admin/layer/layer.js"></script>
<script src="__PUBLIC__/Tools/ajaxImageUpload/js/upload.js"></script>
<script>

    $("#upload-input").ajaxImageUpload({
        url: "__MODULE__/File/upload", //上传的服务器地址
        //data: { image:'liang' },
        maxNum: 1, //允许上传图片数量
        zoom: false, //允许上传图片点击放大
        allowType: ['doc','docx', 'xls', 'pdf','docx','xlsx','ppt','pptx'], //允许上传图片的类型
        maxSize :2, //允许上传图片的最大尺寸，单位M
        before: function () {
            //alert('上传前回调函数');
        },
        success:function(data){
            $('#path').attr('value', data.src);
        },
        error:function (e) {
            console.log(e);
        }
    });

</script>

<script>
    $(document).ready(function () {
        $('#invest').submit(function (event) {
            var type = $('option:selected').val();
            var description = $('textarea[name=description]').val();

            var path = $('#path').val();

            var contact_name = $('input[name=contact_name]').val();
            var phone = $('input[name=phone]').val();
            var seat_machine = $('input[name=seat_machine]').val();
            var email = $('input[name=email]').val();

            $.post('__MODULE__/Collects/collectsAdd',{type:type,description:description,path:path,contact_name:contact_name,phone:phone,seat_machine:seat_machine,email:email}, function(result){
                if (result === 'true') {
                    window.location.href = '__MODULE__/Index/index';
                } else {
                    //layer.msg(result);
                    layer.open({
                        type: 1,
                        offset:['100px', '500px'],
                        area: ['300px', '300px'],
                        shadeClose: true, //点击遮罩关闭
                        content: '\<\div style="padding:20px;">'+result+'\<\/div>'
                    });
                }
            });
            event.preventDefault();
            return false;
        });
    });
</script>